<?php

if(defined('ENFORCE_LOGIN_INCLUDED'))
	return;
define('ENFORCE_LOGIN_INCLUDED',1);

$UserID = $_SESSION['UserID'];

if(!isset($_SESSION['UserID']))
{
	$return = array();
	$return['Error'] = "You are not logged in";
	echo json_encode($return);
	require '$footer.php';
	exit;
}
?>